package com.uaroadshow.api.web.controller;

import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;

/**
 * 
 * @author downpour
 */
@RestControllerAdvice
public class GlobalJsonpAdviceController extends AbstractJsonpResponseBodyAdvice {
    
    /**
     * The constructor
     */
    public GlobalJsonpAdviceController() {
        super("callback", "jsonp"); //指定jsonpParameterNames
    }
}
